#ifndef __VRENDERTARGET_H__
#define __VRENDERTARGET_H__
#include "VRenderResource.h"

class VCoreApi VRenderTarget : public VRenderResource
{
public:
	VRenderTarget(void);
	virtual ~VRenderTarget(void);
};


//
//
//
//
class VCoreApi VRenderWindow : public VRenderTarget
{
	friend class KRenderMT;
public:
	inline VRenderWindow(void* hWnd):m_hWnd(hWnd),m_RViewport(NULL){}
	virtual ~VRenderWindow();
	inline void* GetHWnd() const { return m_hWnd; }
	void Resize(UINT Width, UINT Height, BOOL FullScreen);

	void BeginRender();
	void EndRender();

	virtual void BumpWindowMessage() {}
protected:
	virtual void RT_Init();
	virtual void RT_Shutdown();
	virtual void RT_Update();
protected:
	void* m_hWnd;
	VRRenderWindow* m_RViewport;	// [RT]
};

#endif 

